<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>class WeemvcError</title>
	<style type="text/css">
	/* ZenDoc identity */
	.zendoc { font-family: Arial, Helvetica, sans-serif; margin:3px; }
	.zendoc a:hover { text-decoration:none; }
	.zendoc span.title-comment { font-family: Verdana, Arial, Helvetica, sans-serif; font-size:80%; color:#AAA; }
	.zendoc span.title-zen { color:#26A; font-weight:normal; }
	.zendoc span.title-doc { color:black; font-weight:bold; }
	/* overall */
	html, body, div { margin:0; padding:0; border:none; }
	body { font-family:Arial, Helvetica, sans-serif; font-size:90%; }
	a { text-decoration:none; }
	a:hover { text-decoration:underline; }
	h2 { color:#999; margin:2em 0 0 0; padding:0 2px 0 20px; border-bottom:2px solid #58B; }
	h3 { color:#B36B00; margin-top:3em; }
	dl { margin:.5em 0 3px 0; }
	dt { font-weight:bold; }
	td { vertical-align:top; }
	th { text-align:left; color:#58B; background-color:#E3ECF4; }
	code { font-size:1.1em; }
	/* specific */
	#header { background-color:#EAEAEA; padding:1px; }
	#links { color:#999; background-color:#FFE; border-bottom:1px solid #58B; padding:2px 20px; }
	#links a { color:#999; }
	.content { padding:10px 20px; }
	#class-definition { background-color:#58B; color:white; }
	#class-definition .classkind { font-weight:bold; }
	#class-definition .classkind .package { font-weight:normal; }
	#class-definition .classname { font-size:4em; margin:5px 0; }
	#class-definition .superclassname { padding-left:20px; font-style:italic; }
	#class-definition .implements { padding-left:20px; font-style:italic; }
	#class-info .content { margin:20px; border:1px solid #58B; }
	pre.definition { background-color:#FFE; border:1px solid #E4E29A; padding:3px; }
	.generated {
		font-style:italic;
		font-size:80%;
		color:#666;
		margin:1em 0 0 0;
		padding:5px 20px;
		border-top:1px solid #999;
	}
	/* tables */
	.member-list { border:1px solid #58B; margin:2em 20px; }
	.member-list a { color:#B36B00; }
	.member-list table { border-collapse:collapse; }
	.member-list td { border-top:1px solid #58B; }
	.member-list td.name { width:175px; text-align:right; padding-right:5px; }
	.member-list table { width:100%; }
	.even { background-color:#FFE; }
	.odd { background-color:white; }
	.param .name { color:#666; }
	</style>
</head>

<body>
<div id="page">
	<div id="header">
		<h4 class="zendoc"><a href="../" title="返回"><span class="title-comment">返回</span></a></h4>
	</div>
	<div id="class-definition" class="section">
		<div class="content">
			
			<div class="classkind">class <span class="package">org.weemvc.as2</span></div>
			<h1 class="classname">WeemvcError</h1>
			
			<div class="superclassname">Extends: Error</div>
			
		</div>
		<div id="links">
			<a href="#class-info">Class Information</a>
			 | <a href="#class-constructors">Constructors</a>
			 | <a href="#class-properties">Properties</a>
			 | <a href="#class-methods">Methods</a>
			
		</div>
	</div>
	
	<div id="class-info" class="section">
		<h2>Class Information</h2>
		<div class="content">
			
				<dl>
					
					
					<dt>Description</dt>
					<dd>WeeMVC 错误信息和警告信息。
<p>
此类主要记录因 WeeMVC 而引起的错误和警告。
</p>
<p>错误：</p>
<ul>
<li>多次实例化单件类</li>
</ul>
<p>警告：</p>
<ul>
<li>重复添加已添加过的命令类、视图类、模型类</li>
<li>重复删除已删除过的命令类、视图类、模型类</li>
<li>使用未添加的命令类、视图类、模型类</li>
</ul></dd>
					
					class org.weemvc.as2.WeemvcError extends Error</dd>
					
				</dl>
			
			
			</div>
			
			
			<div class="member-list">
			<table><tr><th colspan="2">Constructors</th></tr>
				<tr class="even">
					<td class="name"><a href="#WeemvcError">WeemvcError()</a></td>
					<td>错误信息类构造函数。</td>
				</tr>
			</table></div>
			
			
			<div class="member-list">
			<table><tr><th colspan="2">Properties</th></tr>
				<tr class="even">
					<td class="name"><a href="#SINGLETON_CONTROLLER_MSG">SINGLETON_CONTROLLER_MSG</a></td>
					<td>WeeMVC 错误 *</td>
				</tr><tr class="odd">
					<td class="name"><a href="#SINGLETON_MODEL_MSG">SINGLETON_MODEL_MSG</a></td>
					<td>WeeMVC 错误 *</td>
				</tr><tr class="even">
					<td class="name"><a href="#SINGLETON_VIEW_MSG">SINGLETON_VIEW_MSG</a></td>
					<td>WeeMVC 错误 *</td>
				</tr><tr class="odd">
					<td class="name"><a href="#SINGLETON_NOTIFIER_MSG">SINGLETON_NOTIFIER_MSG</a></td>
					<td>WeeMVC 错误 *</td>
				</tr><tr class="even">
					<td class="name"><a href="#SINGLETON_PAPERLOGGER_MSG">SINGLETON_PAPERLOGGER_MSG</a></td>
					<td>WeeMVC 错误 *</td>
				</tr><tr class="odd">
					<td class="name"><a href="#ADD_COMMAND_MSG">ADD_COMMAND_MSG</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="even">
					<td class="name"><a href="#ADD_MODEL_MSG">ADD_MODEL_MSG</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="odd">
					<td class="name"><a href="#ADD_VIEW_MSG">ADD_VIEW_MSG</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="even">
					<td class="name"><a href="#COMMAND_NOT_FOUND">COMMAND_NOT_FOUND</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="odd">
					<td class="name"><a href="#MODEL_NOT_FOUND">MODEL_NOT_FOUND</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="even">
					<td class="name"><a href="#VIEW_NOT_FOUND">VIEW_NOT_FOUND</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="odd">
					<td class="name"><a href="#MC_NOT_FOUND">MC_NOT_FOUND</a></td>
					<td>WeeMVC 警告 *</td>
				</tr><tr class="even">
					<td class="name"><a href="#NOTIFICATION_NOT_FOUND">NOTIFICATION_NOT_FOUND</a></td>
					<td>WeeMVC 警告 *</td>
				</tr>
			</table></div>
			
			
			<div class="member-list">
			<table><tr><th colspan="2">Methods</th></tr>
				<tr class="even">
					<td class="name"><a href="#formatMessage">formatMessage()</a></td>
					<td>格式化信息。</td>
				</tr>
			</table></div>
			
			
	</div>
		
	<br />
	
	<div id="class-constructors" class="member-group section">
		<h2>Constructors</h2>
		<div class="content">
			<div class="member-item">
				<h3 id="WeemvcError">WeemvcError()</h3>
				<pre class="definition"><code>public function WeemvcError(errorMsg:String, className:String, rest:Array)</code></pre>
				<div>错误信息类构造函数。</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>errorMsg</code></td><td>错误信息</td></tr>
					<tr><td class="name"><code>currentClass</code></td><td>发生此错误所在的类</td></tr>
					<tr><td class="name"><code>rest</code></td><td>其他的任何信息</td></tr>
					</table></dd>
				</dl>
				
				
			
			
			
			
			</div>
		</div>
	</div>
	<br />
	<div id="class-properties" class="member-group section">
		<h2>Properties</h2>
		<div class="content">
			<div class="member-item">
				<h3 id="SINGLETON_CONTROLLER_MSG">SINGLETON_CONTROLLER_MSG</h3>
				<pre class="definition"><code>public static var SINGLETON_CONTROLLER_MSG:String</code></pre>
				<div>WeeMVC 错误 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="SINGLETON_MODEL_MSG">SINGLETON_MODEL_MSG</h3>
				<pre class="definition"><code>public static var SINGLETON_MODEL_MSG:String</code></pre>
				<div>WeeMVC 错误 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="SINGLETON_VIEW_MSG">SINGLETON_VIEW_MSG</h3>
				<pre class="definition"><code>public static var SINGLETON_VIEW_MSG:String</code></pre>
				<div>WeeMVC 错误 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="SINGLETON_NOTIFIER_MSG">SINGLETON_NOTIFIER_MSG</h3>
				<pre class="definition"><code>public static var SINGLETON_NOTIFIER_MSG:String</code></pre>
				<div>WeeMVC 错误 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="SINGLETON_PAPERLOGGER_MSG">SINGLETON_PAPERLOGGER_MSG</h3>
				<pre class="definition"><code>public static var SINGLETON_PAPERLOGGER_MSG:String</code></pre>
				<div>WeeMVC 错误 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="ADD_COMMAND_MSG">ADD_COMMAND_MSG</h3>
				<pre class="definition"><code>public static var ADD_COMMAND_MSG:String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="ADD_MODEL_MSG">ADD_MODEL_MSG</h3>
				<pre class="definition"><code>public static var ADD_MODEL_MSG:String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="ADD_VIEW_MSG">ADD_VIEW_MSG</h3>
				<pre class="definition"><code>public static var ADD_VIEW_MSG:String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="COMMAND_NOT_FOUND">COMMAND_NOT_FOUND</h3>
				<pre class="definition"><code>public static var COMMAND_NOT_FOUND : String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="MODEL_NOT_FOUND">MODEL_NOT_FOUND</h3>
				<pre class="definition"><code>public static var MODEL_NOT_FOUND : String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="VIEW_NOT_FOUND">VIEW_NOT_FOUND</h3>
				<pre class="definition"><code>public static var VIEW_NOT_FOUND : String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="MC_NOT_FOUND">MC_NOT_FOUND</h3>
				<pre class="definition"><code>public static var MC_NOT_FOUND:String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div><div class="content">
			<div class="member-item">
				<h3 id="NOTIFICATION_NOT_FOUND">NOTIFICATION_NOT_FOUND</h3>
				<pre class="definition"><code>public static var NOTIFICATION_NOT_FOUND:String</code></pre>
				<div>WeeMVC 警告 *</div>
				
			
			
			
			
			</div>
		</div>
	</div>
	<br />
	<div id="class-methods" class="member-group section">
		<h2>Methods</h2>
		<div class="content">
			<div class="member-item">
				<h3 id="formatMessage">formatMessage()</h3>
				<pre class="definition"><code>public static function formatMessage(type:String, info:String, className:String, rest:Array):String</code></pre>
				<div>格式化信息。</div>
				<dl>
					<dt>Parameters:</dt>
					<dd><table class="param">
						<tr><td class="name"><code>type</code></td><td>信息类型。错误（Error）/警告（Warning）</td></tr>
					<tr><td class="name"><code>info</code></td><td>信息</td></tr>
					<tr><td class="name"><code>currentClass</code></td><td>所在的类</td></tr>
					<tr><td class="name"><code>rest</code></td><td>其他的任何信息</td></tr>
					</table></dd>
				</dl>
				<dl>
					<dt>Returns:</dt>
					<dd>格式化之后的字符串</dd>
				</dl>
				
			
			
			
			
			</div>
		</div>
	</div>
	
	<p class="generated">Page generated: 9:58 pm on September 9, 2010</p>
</div>
</body>
</html>